Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tcp_ping for non-existent local network hosts #2043

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

mmuman
Copy link
Collaborator

@mmuman mmuman commented Sep 24, 2024

Fixes #2042

We can't just assume select() exiting before the timeout to be a success, since connect() can actually tell us there's no route to host or other errors.

Fixes brndnmtthws#2042

We can't just assume select() exiting before the timeout to be a
success, since connect() can actually tell us there's no route to host
or other errors.
@github-actions github-actions bot added sources PR modifies project sources networking Issue or PR related to networking support labels Sep 24, 2024
Copy link

netlify bot commented Sep 24, 2024

Deploy Preview for conkyweb canceled.

Name Link
🔨 Latest commit b399453
🔍 Latest deploy log https://app.netlify.com/sites/conkyweb/deploys/66f2c151bd135a0008338ad3

@brndnmtthws brndnmtthws added the bug Bug report or bug fix PR label Sep 24, 2024
@mmuman mmuman merged commit b05810d into brndnmtthws:main Sep 24, 2024
39 checks passed
@mmuman mmuman deleted the tcp_ping_fix branch September 24, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR networking Issue or PR related to networking support sources PR modifies project sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: tcp_ping doesn't detect down hosts on local network
2 participants